package com.a2v2.online.store.database.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="notification_template_detail")
public class NotificationTemplateDetail extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7792569480234917707L;
	
	/**
	 * This field will tell us about the type of the Template. e.g Email, SMS etc.
	 */
	@Column(name="template_type")
	private String templateType;
	
	/**
	 * This field will tell the key of the template. For example, In the case of SMS the template_key will have a value 
	 * to the resource bundle key. And in case of Email it will have the value of html file name.
	 */
	@Column(name="template_key")
	private String templateKey;
	
	/**
	 * This field will tell the subject key. Again the whole subject text will be stored in the Resource Bundle and the resource
	 * bundle key will be given here. In case of SMS it will be null. 
	 */
	@Column(name="subject_key")
	private String subjectKey;

	public String getTemplateType() {
		return templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}

	public String getTemplateKey() {
		return templateKey;
	}

	public void setTemplateKey(String templateKey) {
		this.templateKey = templateKey;
	}

	public String getSubjectKey() {
		return subjectKey;
	}

	public void setSubjectKey(String subjectKey) {
		this.subjectKey = subjectKey;
	}
}
